<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>
    const p = new Promise((resolve, reject) => {
            // ?异步操作，最终调用:
            //
            //   resolve(someValue); // fulfilled
            // ?或
            //   reject("failure reason"); // rejected
        });
    console.log(p);
</script>
</html>